package blog

import (
	"github.com/go-martini/martini"
	"github.com/kataras/iris/v12"
	"github.com/kataras/iris/v12/context"
	"github.com/kataras/iris/v12/mvc"
	"github.com/rocwong/neko"
)

func gin() {

}

func irisServ() {
	app := iris.New()

	demoApi := app.Party("/demo")
	{
		demoApi.Get("/foo", func(ctx *context.Context) {
			ctx.Request()
			ctx.Params()
		})
	}

	app.Listen(":1234")
}

func irisMVC() {
	app := mvc.New(nil)
	app.Handle(func() {

	})

}

func nekoServ() {
	app := neko.New()

	app.GET("/", func(c *neko.Context) {
		c.ClientIP()
	})
}

func martiniServ() {
	app := martini.Classic()
	app.Get("/", func() {

	})
	app.Run()
}

func beegoServ() {
}
